﻿using System;
using DBA.Common;
using System.Collections;
using System.Collections.Generic;

namespace DBA.Model
{
    /// <summary>
    ///功能描述    :    PaperSum3
    ///开发者      :    
    ///建立时间    :    2012-08-22 13:49:29
    ///修订描述    :    
    ///进度描述    :    
    ///版本号      :    1.0
    ///最后修改时间:    2012-08-22 13:49:29
    /// </summary>
        [OrmPropertyAttribute(TableName = "PaperSum3",PrimaryKey = "Ps_ID",PrimaryKeyType = "IDENTITY",ParameterType = "int")]
    public class PaperSum3
    {
        #region 构造函数
        public PaperSum3(){}
        
        public PaperSum3(int ps_ID,string ps_PublicationName,string ps_Class,int ps_SumLength,string ps_date,string ps_Demo,string ps_Person1,string ps_Person2,string ps_Person3,string ps_Person4,string ps_PaperName,short Person1Is,short Person2Is,short Person3Is,short Person4Is,string ps_Person5,short Person5Is,short ps_IsTranslation)
        {
           this._ps_ID = ps_ID;
           this._ps_PublicationName = ps_PublicationName;
           this._ps_Class = ps_Class;
           this._ps_SumLength = ps_SumLength;
           this._ps_date = ps_date;
           this._ps_Demo = ps_Demo;
           this._ps_Person1 = ps_Person1;
           this._ps_Person2 = ps_Person2;
           this._ps_Person3 = ps_Person3;
           this._ps_Person4 = ps_Person4;
           this._ps_PaperName = ps_PaperName;
           this._Person1Is = Person1Is;
           this._Person2Is = Person2Is;
           this._Person3Is = Person3Is;
           this._Person4Is = Person4Is;
           this._ps_Person5 = ps_Person5;
           this._Person5Is = Person5Is;
           this._ps_IsTranslation = ps_IsTranslation;

        }
        #endregion
        
        #region 成员
        private int _ps_ID;
        private string _ps_PublicationName;
        private string _ps_Class;
        private int _ps_SumLength;
        private string _ps_date;
        private string _ps_Demo;
        private string _ps_Person1;
        private string _ps_Person2;
        private string _ps_Person3;
        private string _ps_Person4;
        private string _ps_PaperName;
        private short _Person1Is;
        private short _Person2Is;
        private short _Person3Is;
        private short _Person4Is;
        private string _ps_Person5;
        private short _Person5Is;
        private short _ps_IsTranslation;
        #endregion
        
        #region 属性
        /// <summary>
        /// 
        /// </summary>
        [OrmPropertyAttribute(ParameterType = "int",ParameterLength = 4,IsNull = "0")]
        public virtual int Ps_ID
        {
            get { return _ps_ID; }
            set { _ps_ID = value; }
        }
        /// <summary>
        /// 
        /// </summary>
        [OrmPropertyAttribute(ParameterType = "nvarchar",ParameterLength = 200,IsNull = "1")]
        public virtual string Ps_PublicationName
        {
            get { return _ps_PublicationName; }
            set { _ps_PublicationName = value; }
        }
        /// <summary>
        /// 
        /// </summary>
        [OrmPropertyAttribute(ParameterType = "nvarchar",ParameterLength = 40,IsNull = "1")]
        public virtual string Ps_Class
        {
            get { return _ps_Class; }
            set { _ps_Class = value; }
        }
        /// <summary>
        /// 
        /// </summary>
        [OrmPropertyAttribute(ParameterType = "int",ParameterLength = 4,IsNull = "1")]
        public virtual int Ps_SumLength
        {
            get { return _ps_SumLength; }
            set { _ps_SumLength = value; }
        }
        /// <summary>
        /// 
        /// </summary>
        [OrmPropertyAttribute(ParameterType = "nvarchar",ParameterLength = 20,IsNull = "1")]
        public virtual string Ps_date
        {
            get { return _ps_date; }
            set { _ps_date = value; }
        }
        /// <summary>
        /// 
        /// </summary>
        [OrmPropertyAttribute(ParameterType = "nvarchar",ParameterLength = 200,IsNull = "1")]
        public virtual string Ps_Demo
        {
            get { return _ps_Demo; }
            set { _ps_Demo = value; }
        }
        /// <summary>
        /// 
        /// </summary>
        [OrmPropertyAttribute(ParameterType = "nvarchar",ParameterLength = 32,IsNull = "1")]
        public virtual string Ps_Person1
        {
            get { return _ps_Person1; }
            set { _ps_Person1 = value; }
        }
        /// <summary>
        /// 
        /// </summary>
        [OrmPropertyAttribute(ParameterType = "nvarchar",ParameterLength = 32,IsNull = "1")]
        public virtual string Ps_Person2
        {
            get { return _ps_Person2; }
            set { _ps_Person2 = value; }
        }
        /// <summary>
        /// 
        /// </summary>
        [OrmPropertyAttribute(ParameterType = "nvarchar",ParameterLength = 32,IsNull = "1")]
        public virtual string Ps_Person3
        {
            get { return _ps_Person3; }
            set { _ps_Person3 = value; }
        }
        /// <summary>
        /// 
        /// </summary>
        [OrmPropertyAttribute(ParameterType = "nvarchar",ParameterLength = 32,IsNull = "1")]
        public virtual string Ps_Person4
        {
            get { return _ps_Person4; }
            set { _ps_Person4 = value; }
        }
        /// <summary>
        /// 
        /// </summary>
        [OrmPropertyAttribute(ParameterType = "nvarchar",ParameterLength = 200,IsNull = "1")]
        public virtual string Ps_PaperName
        {
            get { return _ps_PaperName; }
            set { _ps_PaperName = value; }
        }
        /// <summary>
        /// 
        /// </summary>
        [OrmPropertyAttribute(ParameterType = "smallint",ParameterLength = 2,IsNull = "1")]
        public virtual short Person1Is
        {
            get { return _Person1Is; }
            set { _Person1Is = value; }
        }
        /// <summary>
        /// 
        /// </summary>
        [OrmPropertyAttribute(ParameterType = "smallint",ParameterLength = 2,IsNull = "1")]
        public virtual short Person2Is
        {
            get { return _Person2Is; }
            set { _Person2Is = value; }
        }
        /// <summary>
        /// 
        /// </summary>
        [OrmPropertyAttribute(ParameterType = "smallint",ParameterLength = 2,IsNull = "1")]
        public virtual short Person3Is
        {
            get { return _Person3Is; }
            set { _Person3Is = value; }
        }
        /// <summary>
        /// 
        /// </summary>
        [OrmPropertyAttribute(ParameterType = "smallint",ParameterLength = 2,IsNull = "1")]
        public virtual short Person4Is
        {
            get { return _Person4Is; }
            set { _Person4Is = value; }
        }
        /// <summary>
        /// 
        /// </summary>
        [OrmPropertyAttribute(ParameterType = "nvarchar",ParameterLength = 32,IsNull = "1")]
        public virtual string Ps_Person5
        {
            get { return _ps_Person5; }
            set { _ps_Person5 = value; }
        }
        /// <summary>
        /// 
        /// </summary>
        [OrmPropertyAttribute(ParameterType = "smallint",ParameterLength = 2,IsNull = "1")]
        public virtual short Person5Is
        {
            get { return _Person5Is; }
            set { _Person5Is = value; }
        }
        /// <summary>
        /// 
        /// </summary>
        [OrmPropertyAttribute(ParameterType = "smallint",ParameterLength = 2,IsNull = "1")]
        public virtual short Ps_IsTranslation
        {
            get { return _ps_IsTranslation; }
            set { _ps_IsTranslation = value; }
        }
        #endregion
    }
}